package edu.sctu.practice.class01.zhoumengxue.test.test09;

/**
 * Created by ASUS on 2015/10/12.
 */
public class InternetPerson {

    public int id;
    public String password;
    public String emailAdress;

    public InternetPerson(int id, String password) {
        this.password = password;
        this.id = id;
        this.emailAdress = id + "@gameschool.com";
    }

    public void printf() {
        System.out.println("ID：" + id + "\n用户密码:" + password + "\n用户地址:" + emailAdress);
    }


}
